<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
    <style>
      *,
      body {
        padding: 0;
        margin: 0;
      }
      html,
      body {
        width: 100%;
        height: 100%;
      }
      .bg {
        width: 100%;
        height: 100%;
        background: url(./02.jpg) no-repeat;
        overflow: hidden;
      }
      .blur-area {
        position: relative;
        width: 300px;
        height: 100px;
        margin: 700px auto 0;
        overflow: hidden;
        border-radius: 10px;
      }
      .blur-area:before {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 100;
        display: block;
        content: "";
        width: 300px;
        height: 200px;
        background-color: rgba(0, 0, 0, 0.2);
      }
      .blur-area:after {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 99;
        display: block;
        content: "";
        width: 300px;
        height: 200px;
        overflow: hidden;
       
        background-attachment: fixed;
        -webkit-filter: blur(20px);
        filter: blur(20px);
        background-image: url(./02.jpg);
      }
    </style>
  </head>
  <body>
    <div class="bg">
      <div class="blur-area"></div>
    </div>
  </body>
</html>
